package asteroids.model.programs.zeroaryexpression;

import asteroids.model.programs.Program;
import exception.IllegalOperandException;

public class DirectionOfEntity extends ZeroaryExpression<Double> {

	public  DirectionOfEntity() throws IllegalOperandException {
	}

	@Override
	public Double getValue(Program program) {
		return program.getShip().getDirection().getAngle();
	}
	


}
